 

<a href="/">Home</a> &#187; 
<a href="<?= $this->url(array('action'=>'home','group'=>$this->bookmarks[0]->Group)) ?>">Bookmarks</a> &#187; 
search results for '<?= $this->param ?>'

<table><tr><td>

<?php foreach ($this->bookmarks as $bookmark): 
    $source = "/request/picture/name/{$bookmark->Group}/index/{$bookmark->Id}";
    $link = "/favorites/load/group/{$bookmark->Group}/page/{$this->page}/key/{$bookmark->Id}";


    $request = $this->url(array ("controller" => "request",
                                   "action"     => "async",
                                   "group"      => $bookmark->Group,
                                   "key"        => $bookmark->Id,
                                   "show"       => 1
                                   ) );  

    $target  = $this->url(array ("controller" =>"favorites",
                                   "action"     =>"browse",
                                   "page"       =>$this->page,
                                   "group"      =>$bookmark->Group,
                                   "key"        =>$bookmark->Id,
                                   "item"       =>$bookmark->Id,
                                   "show"       =>1
                                   ) );  

    $item   = array_fill (0, $bookmark->Count, 1);
    $App    = new Default_Model_ArticleSet;
    $App->subject = $bookmark->Name;
    $App->items   = $item;
    $App->type    = "picture";
    echo $this->partial ("thumb.phtml", array("source"     => $source,
                                                "icon"       => "/images/clear.gif",
                                                "articleset" => $App,
                                                "link"       => $link ,
                                                "target"     => $target ,
                                                "browse"     => "{$request}" ));
?>
<!--

 <div class='frame' >               
   <table cellspacing='0' cellpadding='4' width='100%' height='200'>
     <tr>
       <td align='center'>              
           <a href='/favorites/load/group/<?= $bookmark->Group ?>/page/<?= $this->page ?>/key/<?= $bookmark->Id ?>'>               
             <img src="/group/picture/name/<?= $bookmark->Group ?>/index/<?= $bookmark->Id ?>/thumb/thumb"
               onerror="this.src='/images/file-broken.png'"/>
           </a>
       </td>
     </tr>
   </table> 

<?= $bookmark->Group ?>
 <div align='left'>
<a href='/favorites/load/group/<?= $bookmark->Group ?>/page/<?= $this->page ?>/key/<?= $bookmark->Id ?>/show/1'>Browse</a>
<a onclick="if(!confirm('Are you sure you want to delete this bookmark?'))return false;" 
   href='<?= $this->url(array('action'=>'bookmark','group'=>$bookmark->Group,'key'=>$bookmark->Path))?>'>Delete</a>
  <br/>

<?php echo $bookmark->Name ?> (<?php echo $bookmark->Count ?>) </div> 
 </div>  
-->
<?php endforeach ?> 

</td></tr></table>


 
<div align="center">


    

        <?  $p = new Default_Model_Paginator;
             echo $p->Pages($this->size, $this->page, "/favorites/list/param/{$this->param}/page/"); ?>

</div>
